# -*- encoding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 5
_modified_time = 1312214036.213429
_template_filename='/home/pylonsapp/readthematrix/trunk/portal/portal/templates/home/home.mako'
_template_uri='/home/home.mako'
_template_cache=cache.Cache(__name__, _modified_time)
_source_encoding='utf-8'
from webhelpers.html import escape
_exports = ['title']


def _mako_get_namespace(context, name):
    try:
        return context.namespaces[(__name__, name)]
    except KeyError:
        _mako_generate_namespaces(context)
        return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
    pass
def _mako_inherit(template, context):
    _mako_generate_namespaces(context)
    return runtime._inherit_from(context, u'/index.mako', _template_uri)
def render_body(context,**pageargs):
    context.caller_stack._push_frame()
    try:
        __M_locals = __M_dict_builtin(pageargs=pageargs)
        range = context.get('range', UNDEFINED)
        __M_writer = context.writer()
        # SOURCE LINE 1
        __M_writer(u'\n')
        # SOURCE LINE 2
        __M_writer(u'\n<div id="content">\n<script>var page = \'index\';\n$(document).ready(function() {\n\tif(page == \'index\'){\n\t\tcounter(msec);\n\t\tsetTimeout(\'modif(char, color)\',300);\n\t\tsetTimeout(\'modif(char, color)\',100);\n\t\tsetTimeout(\'window.location.href = "/auth"\', msec);\n\t}\n});\n\n</script>\n    \n    <center>\n        <table id="matrice">\n')
        # SOURCE LINE 18
        for i in range(35):
            # SOURCE LINE 19
            __M_writer(u'            \t<tr id="r')
            __M_writer(escape(i))
            __M_writer(u'" class="m-r">\n')
            # SOURCE LINE 20
            for j in range(35):
                # SOURCE LINE 21
                __M_writer(u'                      \t<td id="r')
                __M_writer(escape(i))
                __M_writer(u'c')
                __M_writer(escape(j))
                __M_writer(u'" class="m-c" ></td>\n')
                pass
            # SOURCE LINE 23
            __M_writer(u'\t\t\t\t</tr>\n')
            pass
        # SOURCE LINE 25
        __M_writer(u'        </table>\n        <span id="name">\n        \tReadthematrix.com<br />\n        \t<span id="counter"></span>\n        </span>\n    </center>\n</div>\n\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_title(context):
    context.caller_stack._push_frame()
    try:
        __M_writer = context.writer()
        # SOURCE LINE 2
        __M_writer(u'Home - Welcome')
        return ''
    finally:
        context.caller_stack._pop_frame()


